package edu.cuit.canary.selection;

import java.util.Scanner;

public class AdditionQuiz {
    public static void main(String[] args) {
        int number1 = (int)(System.currentTimeMillis() % 10);
        int number2 = (int)(System.currentTimeMillis() / 7 % 10);

        System.out.print(number1 + " + " + number2 + " = ");
        Scanner input = new Scanner(System.in);
        int answer = input.nextInt();

        boolean result = answer == number1 + number2;
        System.out.println("result: " + result);
    }
}
